html {
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}
ul,
h1,
h2,
h3,
h4,
h5,
h6 {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: start;
}

a {
  color: #666;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

body {
  background-color: #f5f5f5;
  padding: 0;
  margin: 0;
}

/* <template lang="">
  <div>
    <el-header>
      <el-menu router   :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect" >
        <el-submenu index="2">
          <template slot="title">
           <i class="el-icon-user-solid"> 管理员 </i>
          </template>
          <el-menu-item index="2-1">登录</el-menu-item>
        </el-submenu>
        <el-menu-item index="/about">关于博客</el-menu-item>
        <el-menu-item index="/article-list">首页</el-menu-item>
      </el-menu>
      <el-tag type="warning" class="label">标签四</el-tag>
      <el-tag type="warning" class="label">标签四</el-tag>
      <el-tag type="warning" class="label">标签四</el-tag>
      <el-tag type="warning" class="label">标签四</el-tag>
    </el-header>
    <el-container>
         <el-aside>
        <el-card></el-card>
        <el-card></el-card>
        <el-card></el-card>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>

      <el-footer>Copyright2018-2021张信凯个人博客版权所有. 基于flask-vue搭建.</el-footer>
    </el-container>
  </div>
</template>
<script>
export default {
  name: 'home',
  data () {
    return {
      activeIndex: '1'
    }
  }
}
</script>
<style lang="less" scoped>
.el-menu--horizontal > .el-menu-item {
  font-size: 20px;
  float: right;
}
/deep/.el-submenu__title {
  font-size: 20px !important;
}
.el-menu--horizontal > .el-submenu {
  float: right;
  margin-right: 350px;
}
.label {
  margin: 5px;
}
.el-header,
.el-footer {
  padding: 0;
  color: #333;
  text-align: center;
  line-height: 60px;
}
.el-header {
  top: 0px;
}

.el-aside {
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  color: #333;
  text-align: center;
  line-height: 160px;
  width: 76%;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
.el-container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media screen and (min-width: 1280px) {
  .el-container {
    width: 1220px;
    .el-aside {
      .el-card {
        width: 25%;
      }
    }
  }
}

@media screen and (max-width: 1280px) {
  .el-container {
    width: 930px;
  }
}

@media screen and (max-width: 991px) {
  .el-container {
    width: 740px;
  }
}

@media screen and (max-width: 740px) {
  .el-container {
    width: 100%;
    .el-main {
      width: 100%;
    }
  }
}
</style> */
